package com.itggm.service;

import com.itggm.Result.ResponseResult;
import com.itggm.dto.AddRolePermissionsDTO;
import com.itggm.dto.RolePageDTO;
import com.itggm.pojo.Role;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author root
* @description 针对表【sys_role】的数据库操作Service
* @createDate 2024-12-21 11:48:02
*/
public interface RoleService extends IService<Role> {

    ResponseResult rolePage(RolePageDTO rolePageDTO);

    ResponseResult delete(Integer rid);

    ResponseResult rolePermissions(Integer id);

    ResponseResult addRolePermissions(AddRolePermissionsDTO addRolePermissionsDTO);
}
